﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HY.WEB.OA
{
    public partial class taskview : PageBase
    {

        public string sid = "";
        public string us,tab="task";

        protected void Page_Load(object sender, EventArgs e)
        {
            us = Session["ID"].ToString();
            if (!String.IsNullOrEmpty(Request["sid"]))
            {
                sid = Request["sid"].Trim();
            }

            Fill();

        }

        void Fill()
        {
            string str = "";
            DataTable dt = BLL.Bllbase.get_table(tab," sid=" + sid);
            if (dt.Rows.Count > 0)
            {
                lbltitle.Text = dt.Rows[0]["dt"].ToString().Trim();
                Literal1.Text = HttpUtility.HtmlDecode(dt.Rows[0]["tmemo"].ToString().Trim());
                //lblmemo.Text = HttpUtility.HtmlDecode(dt.Rows[0]["adcontents"].ToString().Trim());
                lblother.Text = dt.Rows[0]["user"].ToString().Trim();             

            }
        
        }

      
    }
}